home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 August: Tool Chest / Dev.CD Aug 00 TC Disk 2.toast / pc / sample code / interapplication comm / moreosl / moretoolbox / moretoolbox.h < prev   
Encoding:
C/C++ Source or Header  |  2000-06-23  |  1.8 KB  |  60 lines

  1. /*
  2.     File:        MoreToolbox.h
  3.  
  4.     Contains:    
  5.  
  6.     Written by:    Pete Gontier
  7.  
  8.     Copyright:    Copyright (c) 1998 Apple Computer, Inc., All Rights Reserved.
  9.  
  10.                 You may incorporate this Apple sample source code into your program(s) without
  11.                 restriction. This Apple sample source code has been provided "AS IS" and the
  12.                 responsibility for its operation is yours. You are not permitted to redistribute
  13.                 this Apple sample source code as "Apple sample source code" after having made
  14.                 changes. If you're going to re-distribute the source, we require that you make
  15.                 it clear in the source that the code was descended from Apple sample source
  16.                 code, but that you've made changes.
  17.  
  18.     Change History (most recent first):
  19.  
  20.          <4>      2/9/99    PCG     lose QDGlobals and ShowWatchCursor
  21.          <3>    11/11/98    PCG     fix headers
  22.          <2>    11/11/98    PCG     fix header
  23.          <1>    11/10/98    PCG     first big re-org at behest of Quinn
  24.  
  25.     Old Change History (most recent first):
  26.  
  27.          <6>    10/11/98    Quinn   Convert "MorePrefix.h" to "MoreSetup.h".
  28.          <5>    10/23/98    PCG     add HavePowerManager
  29.          <4>      9/9/98    PCG     re-work import and export pragmas
  30.          <3>     7/24/98    PCG        coddle linker (C++, CFM-68K)
  31.          <2>     7/24/98    PCG        eliminate dependency on 'qd'
  32.          <1>     6/16/98    PCG     initial checkin
  33. */
  34.  
  35. #pragma once
  36.  
  37. #include "MoreSetup.h"
  38.  
  39. #include <QuickDraw.h>
  40.  
  41. #ifdef __cplusplus
  42.     extern "C" {
  43. #endif
  44.  
  45. #pragma import on // for clients
  46. #pragma export on // for building a library
  47.  
  48. pascal OSStatus        InitMac                (void);
  49. pascal void            Beep                (void);
  50. pascal long            GetSystemVersion    (void);
  51. pascal Boolean        HaveAppleEvents        (void);
  52. pascal Boolean        HavePowerManager    (void);
  53.  
  54. #pragma import reset // for clients
  55. #pragma export reset // for building a library
  56.  
  57. #ifdef __cplusplus
  58.     }
  59. #endif
  60.